<?php

namespace app\admin\model;

use think\Model;

/*
 * 信用贷
 */
class Xinyong extends Model
{
    /*
     * 信用贷贷款类型
     */
    public function creditcate()
    {
        return $this->belongsTo('Creditcate', 'creditcate_id', 'id');
    }

    /*
     * 信用贷职业身份
     */
    public function creditjob()
    {
        return $this->belongsTo('Creditjob', 'creditjob_id', 'id');
    }


}